package com.tsoj.tsojjudgeservice;

import com.tsoj.tsojjudgeservice.rabbitMQ.MqInitMain;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

import static com.tsoj.tsojjudgeservice.rabbitMQ.MqInitMain.doInit;

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.tsoj.tsojserviceclient.service"})

public class TsojJudgeServiceApplication {

    public static void main(String[] args) {
        doInit();
        SpringApplication.run(TsojJudgeServiceApplication.class, args);
    }

}
